﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace ccq.akisi.Areas.Admin.Models
{
    public class CMSPage
    {
        public int ID { get; set; }
        
        public string Title { get; set; }

        public string Description { get; set; }

        public string Tags { get; set; }

        [Display(Name = "Last Updated")]
        [DataType(DataType.DateTime)]
        [DisplayFormat(DataFormatString = "{0:d}", ApplyFormatInEditMode = true)]
        public DateTime? LastUpdateDate { get; set; }

        [Display(Name = "Create Date")]
        [DataType(DataType.DateTime)]
        [DisplayFormat(DataFormatString = "{0:d}", ApplyFormatInEditMode = true)]
        public DateTime CreateDate { get; set; }
    }
}